<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>myvue</title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <script>
      change()
        function change() {
          document.documentElement.style.fontSize = (document.documentElement.clientWidth || document.body.clientWidth) * 100 / 750 + 'px';
          console.log('1rem=' + (document.documentElement.clientWidth || document.body.clientWidth) * 100 / 750 + 'px')
        }
        window.onresize = function () {
          change()

          
        }
    </script>
  </body>
</html>
